/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author shohdi-user
 */
public class truck extends vehicle {
    private String model;
    private String engine;
    private int towingcapacity;
    
    public truck()
    {
        setMake ("make");
        setNumWheels (4);
        setModel ("model");
        setEngine("engine");
        setTowingCapacity (0);
        
    }
    
    public truck (String make,String model,String engine ,int towing)
    {
        setMake(make);
        setModel(model);
        setEngine(engine);
        setTowingCapacity (towing);
        
    }
    
    public String getModel ()
    {
        return model;
    }
    
    public void setModel(String newModel)
    {
        model = newModel;
    }
    
    
    public String getEngine ()
    {
        return engine;
    }
    
    public void setEngine(String newEngine)
    {
        engine = newEngine;
    }
    
    public int getTowingCapacity ()
    {
        return towingcapacity;
    }
    
    public void setTowingCapacity(int newTowingCapacity)
    {
        towingcapacity = newTowingCapacity;
    }
    
}
